﻿using System;
using System.Data;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using Data = VietStar.Library.Data;
using Entity = VietStar.Library.Entity;

namespace VietStar.Library.Business
{
    public class TaiNguyen
    {
        public TaiNguyen() { }
        Data.TaiNguyen tainguyen = new VietStar.Library.Data.TaiNguyen();
        public bool Insert(Entity.TaiNguyen entity)
        {
            return tainguyen.Insert(entity);
        }
        public DataTable Select(Entity.TaiNguyen entity)
        {
            return tainguyen.Select();
        }
        public DataTable SelectPrimarykey(Entity.TaiNguyen entity)
        {
            return tainguyen.SelectPrimaryKey(entity);
        }
        public DataTable SelectTheoNhaSanXuat(Entity.TaiNguyen entity)
        {
            return tainguyen.SelectTheoNhaSanXuat(entity);
        }
        public bool Update(Entity.TaiNguyen entity)
        {
            return tainguyen.Update(entity);
        }
        public bool Delete(Entity.TaiNguyen entity)
        {
            return tainguyen.Delete(entity);
        }
        public bool Delete_TheoNhaSanXuat(Entity.TaiNguyen entity)
        {
            return tainguyen.Delete_TheoNhaSanXuat(entity);
        }
        public DataTable SelectTimKiem(Entity.TaiNguyen entity)
        {
            return tainguyen.SelectTimKiem(entity);
        }
        public DataTable SelectTaiNguyenTheoAction(Entity.TaiNguyen entity)
        {
            return tainguyen.SelectTaiNguyenTheoAction(entity);
        }
    }
}
